package org.wlgzs.shop.service;

import org.springframework.web.multipart.MultipartFile;
import org.wlgzs.shop.bean.Msg;
import org.wlgzs.shop.bean.storeShow;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.util.Map;

public interface IShowStoreService {
    //推荐商品
    Msg addShowGood(int storeId,String photo,String name,int id);
    //多头部文件上传
    Msg addHeadShow(MultipartFile[] files, HttpSession session, HttpServletRequest request,int id);
    //单头部文件上传
    Msg addOneHeadShow(String photo,String number,String storeId);
    //删除商品
    Msg delectGoods(int id);
    //获取推荐信息
    String getStoreShow(int id);
    //推荐商品的获取
    String[][] getStoreShowDate(int id);
    //文件上传
    String upFile(MultipartFile file,HttpSession session,HttpServletRequest request) throws IOException;
}
